<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:common="http://java.sun.com/jsf/composite/components/common"
    template="/resources/templates/mainlayout.xhtml"
    xmlns:h="http://java.sun.com/jsf/html">

    <ui:define name="content">
        <center>
            <div>
                <h:form id = "registerSuccess">
                    <h:message for = "registerSuccess" class = "successNotice" style = "width: 100%"/>
                </h:form>
            </div>
            <common:loginInfo />
            <common:loginform />
        </center>
    </ui:define>

</ui:composition>

<!--
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:common="http://java.sun.com/jsf/composite/components/common">
    <h:head>
        <title>Login to rescriptus</title>
    </h:head>

    <h:body>
        <f:view>
            <common:menutop title = "Main Page" />
            <center>
                <div class = "form" >
                    <form action = "j_security_check">
                        <label for = "username" >Username: </label><input id = "username" type = "text" name = "j_username" /><br/>
                        <label for = "password" >Password: </label><input id = "password" type = "password" name = "j_password" /><br/>
                        <input type = "submit" id = "submit" title = "Zaloguj" >Zaloguj</input>
                    </form>
                </div>
            </center>
        </f:view>
    </h:body>
</html>

-->